package com.ny.service;

import entity.Product;

import java.sql.SQLException;
import java.util.List;

public interface ProductService {

    List<Product> findAllProduct() throws SQLException;

    int addProduct(Product product);

    int updateProduct(Product product1);

    int deleteProduct(int productId1);
}
